import http from "@/utils/http";
//获取轮播图
export const  getBanner = ()=> http.get("/home/banner")
//获取功能
export const getGongneng= ()=>http.get("/home/category/mutli")
//获取热门
export const getHotPannel= ()=>http.get("/home/hot/mutli")
//新鲜好物
export const getHomeNew = (limit = 4) => {
  return http({ url: "/home/new", data: { limit } });
};
//猜你喜欢
export const getHomeGoodsGuessLikeAPI = (data) => {
  return http({
    method: 'GET',
    url: '/home/goods/guessLike',
    data,
  })
}
